package work.parabola.assets.common;

public class DocumentConst {

	public static final String ATTACHMENT_FILE_SEPARATOR = ",";
	
	public static final String CLASS_C_SEPARATOR = ",";
	
	public static final String ORG_CODE_SEPARATOR = ",";
	
	public enum Status{
		UNREPLAY(0, "未回复"),
		REPLAYED(1, "已回复"),
		LATE(2, "迟报");
		private int code;
		private String value;
		
		Status(int code, String value){
			this.code = code;
			this.value = value;
		}

		public int getCode() {
			return code;
		}

		public String getValue() {
			return value;
		}
		
		public static Status codeOf(int code){
            for(Status status : values()){
                if(status.getCode() == code){
                    return status;
                }
            }
            return null;
        }
	}
}
